package com.kelvem.saas.workbanch.ontology.waybill.model;

import com.kelvem.saas.workbanch.fsm.entity.FsmEntity;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.ToString;

import java.math.BigDecimal;

/**
 * @author kelvem
 */
@Data()
@ToString(callSuper = true)
@EqualsAndHashCode(callSuper = true)
public class WaybillEntity extends FsmEntity {
    
    private String waybillNo;
    /**
     * 取货 支线 干线 中转 送货
     */
    private String waybillType;
    /**
     * 陆运 海运 空运
     */
    private String routeType;
    /**
     * 自营 外包 混合
     */
    private String ownerType;
    
    /**
     * 计重方式, 计重 计抛
     */
    private String heavyType;
    /**
     * kg 折算了体积重量, max(weight, bulk * 1000000 / 3000)
     */
    private BigDecimal heavy;
    
    private BigDecimal estimatePrice;
    private BigDecimal realPrice;
    private BigDecimal paymentPrice;
    
    /**
     * 米
     */
    private Integer distance;
    /**
     * 秒
     */
    private Integer duration;
    
    private String srcProvince;
    private String srcCity;
    private String srcCounty;
    private String srcAddressDetail;
    private String srcAreaCode;
    private Long srcStationId;
    
    private String dstProvince;
    private String dstCity;
    private String dstCounty;
    private String dstAddressDetail;
    private String dstAreaCode;
    private Long dstStationId;
    
    
    
    
}
